package cn.cau.control;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@Controller
public class CodeSearchIndexController {
    @RequestMapping(value = "/codeSearchIndex", method = RequestMethod.GET)
    public String codeSearchIndex() {
        return "codeSearch/codeSearchIndex";
    }

    @RequestMapping(value = "/codeSearch", method = RequestMethod.GET)
    public String codeSearch() {
        return "codeSearch/codeSearch";
    }

    @RequestMapping(value = "/ruleSearch", method = RequestMethod.GET)
    public String ruleSearch() {
        return "codeSearch/ruleSearch";
    }
}
